package com.beone.smart.smartBeauty.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * Created by bruce on 20/2/25 -- 16:20
 * 智能美容设备
 */
@Data
@TableName(value = "beauty_device")
@ApiModel(value = "美容设备")
public class BeautyDeviceDO {
    //记录的主键id
    @ApiModelProperty(value = "记录的主键id")
    private String id;
    //图片url
    @ApiModelProperty(value = "图片url")
    private String imgUrl;
    //标题
    @ApiModelProperty(value = "标题")
    private String title;
    //小标题
    @ApiModelProperty(value = "小标题")
    private String subTitle;
    //设备所属地区
    @ApiModelProperty(value = "设备所属地区")
    private String area;
    //该设备加入时间
    @ApiModelProperty(value = "该设备加入时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime joinDate;
}
